package org.jeecg.modules.param.fault.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @Description: 检测故障记录
 * @Author: 月月鸟
 * @Date:   2021-05-28
 * @Version: V1.0
 */
@Data
@TableName("bike_fault_check")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="bike_fault_check对象", description="检测故障记录")
public class BikeFaultCheckRes implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
    /**网点编号*/
    @Excel(name = "网点编号", width = 15)
    @ApiModelProperty(value = "网点编号")
    private String stationCode;
    /**网点名称*/
    @Excel(name = "网点名称", width = 15)
    @ApiModelProperty(value = "网点名称")
    private String stationName;
    /**网点地址*/
    //@Excel(name = "网点地址", width = 15)
    @ApiModelProperty(value = "网点地址")
    private String address;
    /**车桩号*/
    @Excel(name = "车桩号", width = 15)
    @ApiModelProperty(value = "车桩号")
    private String pileCode;
    /**车辆编号*/
    @Excel(name = "车辆编号", width = 15)
    @ApiModelProperty(value = "车辆编号")
    private String vehicleCode;
    /**车辆类型*/
    //@Excel(name = "车辆类型", width = 15)
    @ApiModelProperty(value = "车辆类型")
    private String vehicleType;
    /**检测时间*/
    @Excel(name = "检测时间",width = 15,format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "检测时间")
    private java.util.Date createTime;
    /**故障类型*/
    @Excel(name = "故障类型", width = 15,dicCode = "fault_type")
    @ApiModelProperty(value = "故障类型")
    @Dict(dicCode = "fault_type")
    private String faultType;
    /**
     * 是否转工单
     */
    @Excel(name = "是否转工单", width = 15 ,dicCode = "yn")
    @ApiModelProperty(value = "是否转工单")
    @Dict(dicCode = "yn")
    private String isDispatch;
    /**
     * 转工单时间
     */
    @Excel(name = "转工单时间", width = 15, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "转工单时间")
    private java.util.Date dispatchTime;
    /**是否解决 1是0否	*/
    @Excel(name = "是否解决", width = 15 ,dicCode = "yn")
    @ApiModelProperty(value = "是否解决")
    @Dict(dicCode = "yn")
    private java.lang.String isSolve;
    /**
     * 故障号
     */
    //@Excel(name = "故障号", width = 15)
    @ApiModelProperty(value = "故障号")
    private String code;
    /**
     * 所属网点
     */
    @ApiModelProperty(value = "网点ID")
    private String stationId;


    /**
     * 所属车桩
     */
    @ApiModelProperty(value = "所属车桩")
    private String pileId;


    /**
     * 车辆
     */
    @ApiModelProperty(value = "车辆ID")
    private String vehicleId;


    /**
     * 问题描述
     */
    //@Excel(name = "问题描述", width = 15)
    @ApiModelProperty(value = "问题描述")
    private String content;



    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private String createBy;


    /**
     * 修改人
     */
    @ApiModelProperty(value = "修改人")
    private String updateBy;
    /**
     * 修改时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间")
    private java.util.Date updateTime;
    /**
     * 备注
     */
    //@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String memo;
    // TODO: 2021/6/2 借车卡号不明确获取路径
    /**
     * 截至完成时间
     */
    //@Excel(name = "截至完成时间", width = 15, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "截至完成时间")
    private java.util.Date finishTime;
    /**
     * 紧急程度 2 一般 1加急
     */
    //@Excel(name = "紧急程度", width = 15,dicCode = "")
    @ApiModelProperty(value = "紧急程度 2 一般 1加急")
    @Dict(dicCode = "urgent_type")
    private java.lang.String urgentType;

    /**
     * 是否必须上传照片 1是 0否"
     */
    //@Excel(name = "是否必须上传照片", width = 15)
    @ApiModelProperty(value = "是否必须上传照片 1是 0否")
    @Dict(dicCode = "yn")
    private java.lang.String isPicture;
    /**
     * 责任人ID
     */
    //@Excel(name = "责任人ID", width = 15)
    @ApiModelProperty(value = "责任人ID")
    private java.lang.String userDutyId;

}
